<?php 
 header("Content-type:text/html;charset=utf-8");
 /*$zq1 = array('stuno' => '328',
 				'neme' => '张琦', 
 				'sex' => '女', 
 	      	    'birth' => '1995-11-07',
 	      	    'class' => '计算机14003');
 $zq1['major'] = '计算机科学与技术';

 $zq2 = array('stuno' => '328','neme' => 'XX', 'sex' => '女', 
 	      	 'birth' => '1995-11-07','class' => '计算机14003','major' => '计算机科学与技术');


 $zq3= array('stuno' => '328','neme' => 'ZZ', 'sex' => '女', 
 	      	 'birth' => '1995-11-07','class' => '计算机14003','major' => '计算机科学与技术');

$stus = array( $zq1 , $zq2 );
$stus[] = $zq3 ;    //$stus = array( $zq1 , $zq2 , $zq3 );  和14，15行是一样的
 var_dump( $stus );*/


 

//echo '<h2>3、视频案例</h2>';
 $categoty_movie = array(
 	  		'id' => 1, 
 	 		'categoty_name' => '电影'
 );
 
 $categoty_dianshiju = array(
 	  		'id' => 2, 
 	 		'categoty_name' => '电视剧'
 );
 $categoty_zongyi = array(
 	  		'id' => 3, 
 	 		'categoty_name' => '综艺'
 );
 $categoty = array($categoty_movie, $categoty_dianshiju, $categoty_zongyi);

        $video1=array(
		'id' => 1,
		'name' => '美人鱼',
		'intro' => '一般般',
		'direction' => '周星驰',
		'thumb' => 'fish.jpg',
		'categoty_id' => 1,
		'categoty_name' => '电影');


		$video2=array(
		'id' => 2,
		'name' => '疯狂动物城',
		'intro' => '一般般',
		'direction' => '外国导演',
		'thumb' => 'fish.jpg',
		'categoty_id' => 2,
		'categoty_name' => '电影'

);
		$video3=array(
		'id' => 3,
		'name' => '琅琊榜',
		'intro' => '一般般',
		'direction' => '外国导演',
		'thumb' => 'fish.jpg',
		'categoty_id' => 2,
		'categoty_name' => '电视剧'

);
		$video4=array(
		'id' => 4,
		'name' => '花千骨',
		'intro' => '一般般',
		'direction' => '外国导演',
		'thumb' => 'fish.jpg',
		'categoty_id' => 2,
		'categoty_name' => '电视剧'

);
		$video5=array(
		'id' => 5,
		'name' => '我是歌手',
		'intro' => '一般般',
		'direction' => '外国导演',
		'thumb' => 'fish.jpg',
		'categoty_id' => 3,
		'categoty_name' => '综艺'

);
		$video6=array(
		'id' => 6,
		'name' => '欢乐喜剧人',
		'intro' => '一般般',
		'direction' => '外国导演',
		'thumb' => 'fish.jpg',
		'categoty_id' => 3,
		'categoty_name' => '综艺'
);

    $movies = array( 
	'categoty_id'=>1,
	'categoty_name'=>'电影',
	'videos'=>array($video1,$video2)
	);
	$dianshiju = array(
		'categoty_id'=>2,
		'categoty_name'=>'电视剧',
		'videos'=>array($video3,$video4)
		);
	$zongyi = array(
		'categot_id' => 3,
		'categoty_name'=>'综艺',
		'videos'=>array($video5,$video6)
		);


	var_dump($movies,$dianshiju,$zongyi);
//}





 
 ?>